Function

Gimpfonts_get_by_name

unstable since: 3.0

Declaration [src]

GimpFont**
gimp_fonts_get_by_name (
  const gchar* name
)

Description [src]

Returns the fonts with the given name.

Returns the fonts with the given name. There may be more than one.

Available since: 3.0

Parameters

name

Type: const gchar*

The name of the font.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: An array of GimpFont*

     The fonts with the given name.
     The returned value must be freed with g_free().
The array is NULL-terminated.
The caller of the function takes ownership of the data container, but not the data inside it.